<!doctype html>
<html>
    <head>
        <title>Waferplot-JS, contour and 3D surface plots for wafer data</title>
        <meta name="Author" content="Francesco Abbate">
        <meta name="Copyright" content="Copyright (C) 2015, Francesco Abbate">
        <meta name="Language" content="en">
        <meta name="description" content="An HTML application to display 3D plots and contour plots for wafer data">
        <link rel="stylesheet" href="css/waferplot.css">
        <link rel="stylesheet" href="css/spreadsheet.css">
    </head>
    <body>
        <div id="app-area">
        <input type="file" id="file-select" />
        <button id="paste-data-bt">Enter data</button>
        <label>Sample data
        <select id="example_dataset_select">
            <option value="undefined"></option>
            <option value="dataset1">Example 1</option>
            <option value="dataset2">Example 2</option>
            <option value="dataset3">Example 3</option>
        </select></label>
        <label>Plot type
        <select id="plot_type_select">
            <option value="3d">3D Plot</option>
            <option value="contour">Contour Plot</option>
        </select></label>
        <div id="select_meas_div"></div>
        <div class="error" id="error-div"></div>
        <div class="warning"><ul id="warning-ul"></ul></div>
        <div>
            <ul id="tab-ul" class="show-nav">
                <li><a href="#" class="selected">Plot</a></li>
                <li><a href="#">Data</a></li>
            </ul>
            <div id="loader-div"></div>
            <div class="clear"></div>
        </div>
        <label>show points<input type="checkbox" id="show-points-check" class="data" checked></label>
        <div id="three-js"></div>
        <script src="js/clipboard.js"></script>
        <script src="js/spreadsheet.js"></script>
        <script src="js/loader.js"></script>
        <script src="js/sfx-parse.js"></script>
        <script src="js/lib/sylvester-min.js"></script>
        <script src="js/lib/three.min.js"></script>
        <script src="js/lib/OrbitControls.js"></script>
        <script src="js/contour.js"></script>
        <script src="js/units.js"></script>
        <script src="js/waferplot.js"></script>
        <script src="js/dataframe.js"></script>
        </div>
        <div class="help">
            <h2>How to use the application</h2>
            <p>The application works by loading the data in CSV format.
            The data should contains informations about the X and Y coordinates of each measurement.</p>

            <p>The data can contains one or more measured parameters as long as each parameter is identified by a different name.
            Once the data is loaded the application will let the user choose the parameter to be plotted.</p>

            <p>The CSV file with the data should be in a simple format with the headers in the first line and the measurements in the following lines like in the example below:
            </p>

            <table class="data"><tr><td>thickness</td><td>RI</td><td>X</td><td>Y</td></tr>
                <tr><td>201.5</td><td>1.457</td><td>0</td><td>0</td></tr>
                <tr><td>202.3</td><td>1.459</td><td>11.5</td><td>24.5</td></tr>
                <tr><td>201.1</td><td>1.458</td><td>102.5</td><td>-24.5</td></tr>
            </table>

            <p>In addition the application will accept data coming from KLA-Tencor semiconductor ellipsometers and reflectometers.</p>
        </div>
        <div class="clear"></div>
    </body>
</html>
